<?php declare(strict_types=1);

namespace think\msg\platform\feishu\dto;

use think\msg\platform\feishu\RequestDto;

class TextMsgDto extends RequestDto
{
    protected $msg_type = 'text';

    protected $content = [
        'text' => null,
    ];

    public function setText(string $text): void
    {
        $this->content['text'] = $text;
    }
}
